package com.baozun.houji.me.adapter

import com.baozhun.mall.common.base.BaseListAdapter
import com.baozun.houji.me.BR
import com.baozun.houji.me.R
import com.baozun.houji.me.databinding.ItemGoodsCoverBinding
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder

/**
 * @Title：
 * @Description：
 * @Author：xing.luo
 * @Since：2022/11/27
 * @Version：1.0.0
 */
class GoodsCoverListAdapter(data: MutableList<String>?) :
    BaseListAdapter<String, ItemGoodsCoverBinding>(
        R.layout.item_goods_cover, data
    ) {

    override fun convert(holder: BaseDataBindingHolder<ItemGoodsCoverBinding>, item: String) {
        super.convert(holder, item)
        holder.dataBinding?.setVariable(BR.model, item)
    }

}